package com.tc.project.system.controller;


import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 用户信息表 前端控制器
 * </p>
 *
 * @author TianChao
 * @since 2020-05-16
 */
@RestController
@RequestMapping("/sysUser")
public class SysUserController {
    @GetMapping("/hello")
    //@PreAuthorize("hasAnyAuthority('r1')")
    public String hello(){
        return "helloWorld";
    }
}

